@@ -9,12 +9,6 @@ describe Agents::AftershipAgent do |
||
| 9 | 9 |
:headers => {"Content-Type" => "text/json"}
|
| 10 | 10 |
) |
| 11 | 11 |
|
| 12 |
- stub_request(:get, "trackings/usps/9361289878905919630610").to_return( |
|
| 13 |
- :body => File.read(Rails.root.join("spec/data_fixtures/aftership.json")),
|
|
| 14 |
- :status => 200, |
|
| 15 |
- :headers => {"Content-Type" => "text/json"}
|
|
| 16 |
- ) |
|
| 17 |
- |
|
| 18 | 12 |
@opts = {
|
| 19 | 13 |
"api_key" => '800deeaf-e285-9d62-bc90-j999c1973cc9', |
| 20 | 14 |
"path" => 'trackings' |